import getEnumsManager from '@/common/enum';

export const lddjlxEnum = getEnumsManager([
  { value: '1', text: '流出管理', name: 'outflow' },
  { value: '2', text: '流入管理', name: 'inflow' },
  { value: '3', text: '县级流入库', name: 'county' },
  { value: '4', text: '省外流入党员', name: 'outside' }
]);

export const flowTypeEnum = getEnumsManager([
  { text: '系统读取', value: '0', name: 'system' },
  { text: '手动创建', value: '1', name: 'handle' }
]);

export const lddjModeEnum = getEnumsManager([
  { text: '省内组织', value: '0', name: 'inside' },
  { text: '省外组织', value: '1', name: 'outside' },
  { text: '县级库', value: '2', name: 'county' },
  { text: '无固定地点', value: '3', name: 'unfix' },
  { text: '不掌握流向', value: '4', name: 'unknown' }
]);

export const ldtxTypeEnum = getEnumsManager([
  { text: '接收', value: '0', name: 'receive' },
  { text: '发送', value: '1', name: 'send' }
]);
